package com.dha.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name = "giaoVien")
public class GiaoVienEntity {
	@Id
	private String maGiaoVien;
	private String tenGiaoVien;
	private String diaChi;
	private String taiKhoanNganHang;
	private String matKhau;
	private String email;
	private String dienThoai;
	private String mobile;
	
	
	public GiaoVienEntity(String maGiaoVien, String tenGiaoVien, String diaChi,
			String taiKhoanNganHang, String matKhau, String email,
			String dienThoai, String mobile) {
		super();
		this.maGiaoVien = maGiaoVien;
		this.tenGiaoVien = tenGiaoVien;
		this.diaChi = diaChi;
		this.taiKhoanNganHang = taiKhoanNganHang;
		this.matKhau = matKhau;
		this.email = email;
		this.dienThoai = dienThoai;
		this.mobile = mobile;
	}

	@Column(name = "mobile")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "maGiaoVien")
	public String getMaGiaoVien() {
		return maGiaoVien;
	}

	public void setMaGiaoVien(String maGiaoVien) {
		this.maGiaoVien = maGiaoVien;
	}

	@Column(name = "tenGiaoVien")
	public String getTenGiaoVien() {
		return tenGiaoVien;
	}

	public void setTenGiaoVien(String tenGiaoVien) {
		this.tenGiaoVien = tenGiaoVien;
	}

	@Column(name = "diaChi")
	public String getDiaChi() {
		return diaChi;
	}

	public void setDiaChi(String diaChi) {
		this.diaChi = diaChi;
	}

	@Column(name = "taiKhoanNganHang")
	public String getTaiKhoanNganHang() {
		return taiKhoanNganHang;
	}

	public void setTaiKhoanNganHang(String taiKhoanNganHang) {
		this.taiKhoanNganHang = taiKhoanNganHang;
	}

	@Column(name = "matKhau")
	public String getMatKhau() {
		return matKhau;
	}

	public void setMatKhau(String matKhau) {
		this.matKhau = matKhau;
	}

	@Column(name = "email")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "dienThoai")
	public String getDienThoai() {
		return dienThoai;
	}

	public void setDienThoai(String dienThoai) {
		this.dienThoai = dienThoai;
	}

	public GiaoVienEntity() {
		super();
	}

}
